Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I modified the PAM50 pipeline to use HUGO names instead, pulling probeset-to-gene mappings from the latest HuEx-1_0-st-v2 Probeset Annotations (released 7/16/16). This file is behind a login but was downloaded from http://www.affymetrix.com/Auth/analysis/downloads/na36/wtexon/HuEx-1_0-st-v2.na36.hg19.probeset.csv.zip
The HUGO name lookup was performed with the HUGO gene symbol names curated at genenames.org and downloaded from http://beta.genenames.org/download/custom.
The
SUMMARIZE_FUNCTIONoption variable can be used to set the function that summarizes gene expression when multiple probesets are mapped to a gene name. You can pass a summary function from base R here (e.g.median,mean,quantile), or you can write your own function as long as it takes a vector as it's first argument and produces a single value output.The scripts gather GSE46691 files into the
datasubfolder. If you have previously downloaded these elsewhere copy or link them into this folder and the scripts will skip downloading.Finally, I also realized that the previous script relies on
biogroomwhich is currently still a private repo, so I imported functions as needed for the final step of extracting and cleaning the phenotype data.